package cmd

import (
	"fmt"
)

type ProtoType = uint16

type ProtoDce struct {
	Type ProtoType
	Data interface{}
}

type ProtoDse struct {
	Type ProtoType
	Ret  int16
	Data interface{}
}

func (p *ProtoDce) String() string {
	return fmt.Sprintf("ProtoDce Type: %s, Data: %v", p.Type, p.Data)
}

func (p *ProtoDse) String() string {
	return fmt.Sprintf("ProtoDse Type: %s, Ret: %d, Data: %v", p.Type, p.Ret, p.Data)
}
